Optimal. Leaf size=40 \[ \frac {F\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{2 b}-\frac {\sqrt {\sin (2 a+2 b x)}}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4383, 2720}
\begin {gather*} \frac {F\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{2 b}-\frac {\sqrt {\sin (2 a+2 b x)}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2720
Rule 4383
Rubi steps
\begin {align*} \int \frac {\sin ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx &=-\frac {\sqrt {\sin (2 a+2 b x)}}{2 b}+\frac {1}{2} \int \frac {1}{\sqrt {\sin (2 a+2 b x)}} \, dx\\ &=\frac {F\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{2 b}-\frac {\sqrt {\sin (2 a+2 b x)}}{2 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.26, size = 75, normalized size = 1.88 \begin {gather*} -\frac {2 \sqrt {\sin (2 (a+b x))}+\frac {\sqrt {2} F\left (\text {ArcSin}(\cos (a+b x)-\sin (a+b x))\left |\frac {1}{2}\right .\right ) (\cos (a+b x)+\sin (a+b x))}{\sqrt {1+\sin (2 (a+b x))}}}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] result has leaf size over 500,000. Avoiding possible recursion issues.
time = 7.41, size = 58561095, normalized size = 1464027.38
method | result | size |
default | \(\text {Expression too large to display}\) | \(58561095\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\sin \left (a+b\,x\right )}^2}{\sqrt {\sin \left (2\,a+2\,b\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________